programming4us
           
 
 
SQL Server

An OLAP Requirements Example: CompSales International (part 1)

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
12/13/2010 9:00:09 AM
Following is an abbreviated requirement thatreflects an actual implementation that was done for a large SiliconValley company. We follow the mini-methodology as closely as possibleto implement this requirement in SSAS, pointing out which facilities ofSSAS should be used for which purpose along the way.

CompSales International Requirements

A large computermanufacturer named CompSales International needs to do basic analyticalprocessing of its product data in a new BI environment. The mainbusiness issues at hand are related to minimizing channel inventory andbetter understanding market demand for the company’s most popularproducts. The detailed data processing requirements are as follows:

You need to implement some general design decisions using SSAS, including the following:

Figure 1 illustrates the desired hierarchies and facts for CompSales International’s requirements.

Figure 1. CompSales International’s multidimensional OLAP requirements.


OLAP Cube Creation

A star-schema data mart/warehouse named CompSales2008 is used as the basis of creating the OLAP cube example in this article. You can download this data mart, CompsSales2008.zip , from the Sams Publishing website for this book title at www.samspublishing.com ,and it is also on this book’s CD. You can easily unzip and attach thisdatabase to any SQL Server 2008 database instance. This is not an SSASdatabase; it is a SQL Server database of a star-schema datawarehouse/mart. We use this SQL Server database as the source for theexercises in this article. You will build the SSAS OLAP cube yourself(by following the steps outlined here).

You’ll spend mostof the construction phase using SQL Server Business IntelligenceDevelopment Studio (BIDS; also known as Visual Studio) and MicrosoftSQL Server Management Studio (SSMS). All wizards and editors areinvoked from either BIDS or SSMS. As mentioned earlier, Microsoft hasmoved to a project orientation. For this reason, you need to start outin the BIDS (which actually invokes Visual Studio with the BIplug-ins). You must have already installed SSAS. In general, here’swhat you’ll be doing in this example:

1.
Create a BI project.

2.
Identify data sources and data source views that you want to use for a new cube.

3.
Define the basic dimensions for the cube (Time, Geography, Product).

4.
Define the hierarchies.

5.
Process the dimensions.

6.
Create a cube structure.

7.
Define the measure groups/measures.

8.
Process the cube.

9.
Deploy the solution.

10.
Use the cube.

Using SQL Server BIDS

The SQL Server BIDS (a.k.a. Visual Studio with the BI plug-ins) is launched from the SQL Server 2008 Program group on the Start menu or from the Visual Studio 2008 Program group on the Start menu. We will assume you have installed Visual Studio and SQL Server Analysis Services. When this is open, you choose File, New Project, Business Intelligence Projects. Figure 2 shows the New Project dialog from which you should highlight the Analysis Services Project template option and specify a project name, project location, and solution name for this new BI project. In this case, the solution name is CompSalesUnleashed.

Figure 2. The SQL Server BIDS New Project dialog.


Note

You can also start a new project by leveraging any other existing SSAS database project. You can easily clone an existing project and tweak it a bit to fit your new needs. To do this, you use the Import Analysis Services Database option.


After you create a new project, a set of objects is presented to you in the upper-right pane, which is the Solution Explorer. Figure 3 shows the Solution Explorer for the new project. All OLAP project objects reside here, including data sources, dimensions, cubes, mining structures, and roles.

Figure 3. The Solution Explorer view for the new CompSalesUnleashed project.


Other -----------------
- SQL Server 2008 Analysis Services : An Analytics Design Methodology
- SQL Azure : Other Considerations
- SQL Azure : Sample Design - Application SLA Monitoring
- SQL Azure : Combining Patterns
- SQL Server 2008 Analysis Services : Understanding the SSAS Environment Wizards (part 2)
- SQL Server 2008 Analysis Services : Understanding the SSAS Environment Wizards (part 1)
- SQL Server 2008 Analysis Services : Understanding SSAS and OLAP
- SQL Azure : Design Patterns (part 3)
- SQL Azure : Design Patterns (part 2) - Sharding
- SQL Azure : Design Patterns (part 1)
- SQL Azure : Design Factors (part 2)
- SQL Azure : Design Factors (part 1)
- Limitations in SQL Azure
- SQL Server 2008 : Performance Data Collection (part 2)
- SQL Server 2008 : Performance Data Collection (part 1)
- SQL Server 2008 : Performance Tuning - Partitioning
- SQL Server 2008 : Guide to the DYNAMIC Management Views (DMVs)
- SQL Server 2008 : Managing Security - Service Accounts and Permissions
- SQL Server 2008 : Managing Security - Security and SQL Agent
- SQL Server 2008 : Implementing Transactions - Transaction Traps
 
 
 
Top 10
 
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
- First look: Apple Watch

- 3 Tips for Maintaining Your Cell Phone Battery (part 1)

- 3 Tips for Maintaining Your Cell Phone Battery (part 2)
programming4us programming4us